package cn.iocoder.yudao.module.bpm.convert.tbprocess;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.bpm.controller.admin.tbprocess.vo.*;
import cn.iocoder.yudao.module.bpm.dal.dataobject.tbprocess.TbProcessDO;

/**
 * 图斑和流程实例关联 Convert
 *
 * @author admin
 */
@Mapper
public interface TbProcessConvert {

    TbProcessConvert INSTANCE = Mappers.getMapper(TbProcessConvert.class);

    TbProcessDO convert(TbProcessCreateReqVO bean);

    TbProcessDO convert(TbProcessUpdateReqVO bean);

    TbProcessRespVO convert(TbProcessDO bean);

    List<TbProcessRespVO> convertList(List<TbProcessDO> list);

    PageResult<TbProcessRespVO> convertPage(PageResult<TbProcessDO> page);

    List<TbProcessExcelVO> convertList02(List<TbProcessDO> list);

}
